{extend  name="Index/index" /}
{block name="main"}
 <!-- 内容区域 -->
        <div class="tpl-content-wrapper">

            <div class="container-fluid am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <div class="page-header-heading"><span class="am-icon-home page-header-heading-icon"></span> 班期编辑 <small></small></div>
                       
                    </div>
                    
                </div>

            </div>

            <div class="row-content am-cf">


                
                <div class="row">

                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title am-fl">课程编辑</div>
                                <div class="widget-function am-fr">
                                    <a href="javascript:;" class="am-icon-cog"></a>
                                </div>
                            </div>
                            <div class="widget-body am-fr">

                                <form class="am-form tpl-form-border-form tpl-form-border-br"  method="post"  action="{:url('admin/classdate/update',['id'=>$data.id])}">
                                    <div class="am-form-group">
                                        <label for="user-name" class="am-u-sm-3 am-form-label">课程名字<span class="tpl-form-line-small-title">coursename</span></label>
                                        <div class="am-u-sm-9">
                                            <input type="text" class="tpl-form-input" id="user-name" name="coursename" placeholder="请输入课程名字" value="{$res.coursename}">
                                            <small>请填写课程名字15字之内。</small>
                                        </div>
                                    </div>
                                    

                                    <div class="am-form-group">
                                        <label for="user-name" class="am-u-sm-3 am-form-label">班期<span class="tpl-form-line-small-title">classname</span></label>
                                        <div class="am-u-sm-9">
                                            <input type="text" class="tpl-form-input" id="user-name" placeholder="请输入班期名字" name="classname"  value="{$data.classname}">
                                            <small>请填写班期名字15字之内。</small>
                                        </div>
                                    </div>


                                    <div class="am-form-group">
                                        <label for="user-email" class="am-u-sm-3 am-form-label">开班时间 <span class="tpl-form-line-small-title">starttime</span></label>
                                        <div class="am-u-sm-9">
                                            <input type="text" class="am-form-field tpl-form-no-bg" placeholder="开班时间" data-am-datepicker="" readonly="" name="starttime" value="{$data.starttime}">
                                            <small>开班时间为必填</small>
                                        </div>
                                    </div>
                                    
                                    
                                    <div class="am-form-group">
                                        <label class="am-u-sm-3 am-form-label">班级时长(月) <span class="tpl-form-line-small-title">longtime</span></label>
                                        <div class="am-u-sm-9">
                                            <input type="text" placeholder="输入班期的大约时长"  name="longtime"  value="{$data.longtime}">
                                        </div>
                                    </div>


                                    <div class="am-form-group">
                                        <div class="am-u-sm-9 am-u-sm-push-3">
                                            <button type="submit" class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交</button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
{/block}